<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>菜单列表</title>
	<%@include file="/views/header.jsp" %>
</head>
<body class="childrenBody">
<form class="layui-form">
	<blockquote class="layui-elem-quote quoteBox">
		<form class="layui-form">
			<div class="layui-inline">
				<label class="layui-btn">菜单</label>
				<div class="layui-input-inline">
					<input type="text" class="layui-input searchVal" placeholder="请输入菜单名称" />
				</div>
				<a class="layui-btn search_btn" data-type="reload">搜索</a>
			</div>

			<div class="layui-inline">
				<shiro:hasPermission name="/sysMenu/addMenu">
				<a class="layui-btn layui-btn-normal addMenu_btn">添加菜单</a>
				</shiro:hasPermission>
			</div>

			<div class=" layui-inline">
				<label class="layui-btn">下拉框</label>
				<div class="layui-inline">
					<select class="input-sm form-control" id="condition" name="condition" loadData="condition" defaultValue="0"></select>
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-btn">选择框</label>
				<div class="layui-inline">
					<select name="city" lay-verify="required" lay-search>
						<option value=""></option>
						<option value="0">北京</option>
						<option value="1">上海</option>
						<option value="2">广州</option>
						<option value="3">深圳</option>
						<option value="4">杭州</option>
					</select>
				</div>
			</div>
			<%--<div class="layui-inline">
				<a class="layui-btn layui-btn-danger layui-btn-normal delAll_btn">批量删除</a>
			</div>--%>
		</form>
	</blockquote>
	<table id="menuList" lay-filter="menuList"></table>

	<!--操作-->
	<script type="text/html" id="menuListBar">
		<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
		<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
	</script>
</form>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/layui/layui.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/sysmenu/menuList.js"></script>
</body>
</html>